feat: add AI Evidence Oracle example (Procedural Proof) - #1951
Open
fmdd123123-create wants to merge 2 commits into
Open
fmdd123123-create wants to merge 2 commits into
fmdd123123-create wants to merge 2 commits into
Conversation
A new trust primitive for the AI era — OApp that verifies AI process compliance (not data correctness) and dispatches verified decisions cross-chain via LayerZero V2. Four-layer architecture: 1. Evidence: AI submits decision + evidence hash (IPFS commitment) 2. Verification: Independent verifiers audit SOP compliance 3. Distribution: LayerZero dispatches verified decisions cross-chain 4. Execution: Target chain receives and acts Trust model isomorphic to DVN: - DVN verifies transport integrity (hash comparison) - EvidenceOracle verifies process compliance (SOP audit) - Both are permissionlessly challengeable (fraud proof via replay) Includes: - EvidenceOracle.sol — single OApp contract - Hardhat tasks: ai:submit, verify:decision, dispatch:decision, challenge:decision - SOP framework with example (rainfall trigger for insurance) - layerzero.config.ts for Sepolia ↔ BSC Testnet - Full README with architecture explanation Live deployment: - Sepolia: 0xaa24CC417EC7ae219F52C400E64E600AAfD3f45d - BSC Testnet: 0xc7FFF00d2c2C6B0aC5D726d3E6e317cCae638214
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
- Switch to ethers v5 (repo standard) from ethers v6 - Add resolutions/overrides for ethers and hardhat-deploy - Use @nomiclabs/hardhat-ethers (matching other examples) - Use EndpointId enum from lz-definitions - Add pnpm-lock.yaml (generated with pnpm 8.15.6) - Fix receipt.hash -> receipt.transactionHash (ethers v5) - Mark package as private (repo convention)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A new trust primitive for the AI era — OApp that verifies AI process compliance (not data correctness) and dispatches verified decisions cross-chain via LayerZero V2.
Four-layer architecture:
Trust model isomorphic to DVN:
Includes:
Live deployment: